/*
    Contact info:
    bhepple@freeshell.org
    http://bhepple.freeshell.org/scrmgr

    Copyright (C) 1991-2008 Bob Hepple

    This program is free software; you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation; either version 2 of the License, or
    (at your option) any later version.

    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.

    You should have received a copy of the GNU General Public License
    along with this program; see the file COPYING.  If not, write to
    the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
    Boston, MA 02111-1307, USA.

*/
#ifndef XAW_DEFS
#define XAW_DEFS
void smxaw_update_insert();

void smxaw_set_cursor 	HARG2(SM_FIELD,		field, 
			      int, 		pos);
void smxaw_init		HARG3(int,		screen_mode, 
			      int,		argc, 
			      char **,		argv);
int  smxaw_enq_mouse	HARG3(int *,		row, 
			      int *,		col, 
			      int *,		time_delta);
void smxaw_beep		NOARGS;		    
void smxaw_clear	HARG1(int,		window);
void smxaw_enh		HARG2(int,		window, 
			      int,		enhancement);
void smxaw_enq		HARG3(int,		window, 
			      int *,		row, 
			      int *,		col);
void smxaw_enq_screen 	HARG2(int *,		row, 
			      int *,		col);
void smxaw_getyx	HARG3(int,		window, 
			      int *,		row, 
			      int *,		col);
void smxaw_goto		HARG3(int,		window, 
			      int,		row, 
			      int,		col);
int  smxaw_maxcol	HARG2(int,		window, 
			      int,		col_desired);
void smxaw_msg		HARG1(char *,		s);
void smxaw_puts		HARG2(int,		window, 
			      char *,		s);
void smxaw_refresh	NOARGS;
void smxaw_term		NOARGS;
void smxaw_paint_skey 	HARG3(int, i, char *, upper, char *, lower);
int  smxaw_confirm	HARG1(char *, 		s);
void smxaw_error 	HARG1(char *, 		s);
void smxaw_main_loop 	HARG1(f_ptr, 		got_a_command);
void smxaw_create_bg    HARG1(SM_BACKGROUND,	bg);
void smxaw_create_fld   HARG1(SM_FIELD,		field);
void smxaw_set_fld 	HARG2(SM_FIELD,		fld, 
			      char *, 		val);
void smxaw_down_tools	();
void smxaw_up_tools	();

void smxaw_realise_form	();
void smxaw_meta_on	();
void smxaw_meta_off	();
void smxaw_prompt_done();
int  smxaw_setup_prompt	HARG3(char *, 		s1, 
			      char *, 		s2,
			      char *, 		def);
#endif

/* For emacs:
 * Local Variables:
 * tab-width: 8
 * End:
 */
